package com.zhilifang.modules.zlf.service.impl;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.zhilifang.modules.zlf.dao.InformationTypeMapper;
import com.zhilifang.modules.zlf.entity.InformationType;
import com.zhilifang.modules.zlf.service.InformationTypeService;

import java.util.List;

@Service("informationTypeService")
public class InformationTypeServiceImpl implements InformationTypeService {

    @Autowired
    private InformationTypeMapper informationTypeMapper;

	@Override
	public List<InformationType> selectInformationTypeIndexListr() {
		// TODO Auto-generated method stub
		return informationTypeMapper.selectInformationTypeIndexListr();
	}

	@Override
	public InformationType selecInformationTypeById(int id) {
		// TODO Auto-generated method stub
		return informationTypeMapper.selecInformationTypeById(id);
	}

	@Override
	public List<InformationType> selecInformationTypeListr() {
		// TODO Auto-generated method stub
		return informationTypeMapper.selecInformationTypeListr();
	}

	@Override
	public void deleteIndustryTypeIds(int[] ids) {
		// TODO Auto-generated method stub
		informationTypeMapper.deleteIndustryTypeIds(ids);
	}

	@Override
	public void insertInformationType(InformationType informationType) {
		// TODO Auto-generated method stub
		informationTypeMapper.insertInformationType(informationType);
	}

	@Override
	public void updateInformationType(InformationType informationType) {
		// TODO Auto-generated method stub
		informationTypeMapper.updateInformationType(informationType);
	};



}